package com.training.food.Domain;

import org.springframework.stereotype.Component;

import java.util.Date;

@Component
public class HisOrder {
    private int id;
    private int number;
    private String discripe;
    private Date releasetime;
    private char state;

    public int getId() {
        return id;
    }

    public HisOrder setId(int id) {
        this.id = id;
        return this;
    }

    public int getNumber() {
        return number;
    }

    public HisOrder setNumber(int number) {
        this.number = number;
        return this;
    }

    public String getDiscripe() {
        return discripe;
    }

    public HisOrder setDiscripe(String discripe) {
        this.discripe = discripe;
        return this;
    }

    public Date getReleasetime() {
        return releasetime;
    }

    public HisOrder setReleasetime(Date releasetime) {
        this.releasetime = releasetime;
        return this;
    }

    public char getState() {
        return state;
    }

    public HisOrder setState(char state) {
        this.state = state;
        return this;
    }

    @Override
    public String toString() {
        return "HisOrder{" +
                "id=" + id +
                ", number=" + number +
                ", discripe='" + discripe + '\'' +
                ", releasetime=" + releasetime +
                ", state=" + state +
                '}';
    }
}
